package ebuy.com.server.imp;

import ebuy.com.dao.Homepagedirectorydao;
import ebuy.com.pojo.Homepagedirectory;
import ebuy.com.server.Homepagedirectoryserver;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;
@Transactional
@Service
public class Homepagedirectoryserverimp implements Homepagedirectoryserver {
    @Autowired
    private Homepagedirectorydao homepagedirectorydao;
    @Override
    public List<Homepagedirectory> Queryalldirectories() {
        return homepagedirectorydao.Queryalldirectories();
    }
}
